// -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
//   File Name: shadow_root_rare_data.cpp
// Description: ShadowRootRareData Class
//      Author: Ziming Li
//     Created: 2022-04-09
// -------------------------------------------------
// Copyright (C) 2022 MingYang Software Technology.
// -------------------------------------------------

#include "./shadow_root_rare_data.h"

#include "blinkit/blink/renderer/core/css/style_sheet_list.h"
#include "blinkit/blink/renderer/core/html/HTMLShadowElement.h"

namespace blink {

ShadowRootRareData::ShadowRootRareData(void) = default;

ShadowRootRareData::~ShadowRootRareData(void) = default;

void ShadowRootRareData::setStyleSheets(const GCRefPtr<StyleSheetList> &styleSheetList)
{
    m_styleSheetList = styleSheetList;
}

StyleSheetList* ShadowRootRareData::styleSheets(void)
{
    return m_styleSheetList.get();
}

} // namespace blink
